package org.example.controller;

import org.example.base.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName IndexController
 * @Author lidahu
 * @Description //TODO
 * @Date 2023/2/1 22:05
 **/
@Controller
public class IndexController extends BaseController {
    /**
     * 系统登录页
     *
     * @return
     */

    @RequestMapping("index")

    public String index() {
        return "index";
    }

    // 系统界面欢迎页
    @RequestMapping("welcome")
    public String welcome() {
        return "welcome";
    }

    /**
     * 后端管理主页面
     *
     * @return
     */
    @RequestMapping("main")
    public String main() {
        return "main";
    }
}
